package com.galen.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by 16978 on 2016/4/23.
 */
@Controller
@RequestMapping("h5")
public class BackLogController {
    @RequestMapping("home")
    public String home(Model model) {
        model.addAttribute("name","zhangsan");
        return "home";
    }

    @RequestMapping("addbacklog")
    public String addBacklog(Model model) {
        model.addAttribute("name","zhangsan");
        return "add-backlog";
    }
}
